<%@ page language="C#" autoeventwireup="true" CodeBehind="Index.aspx.cs"  inherits="PayRoller.Manage.OrgInfo.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>&#26080;&#26631;&#39064;&#39029;</title>
		<LINK href="../css.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<script language="javascript" src="../../js/jslib.js" type="text/javascript"></script>
</head>
<body topmargin="0" leftmargin="0">
    <form id="form1" runat="server">
    <table width="99%" align="center"  border="0" cellspacing="0" cellpadding="0" class="NormalText">
            <tr>
              <td height="40" class="HeadText">Client Details</td>
            </tr>
            <tr>
              <td style="line-height:150%"><table width="99%"  border="0" cellspacing="1" cellpadding="1">
                <tr>
                  <td width="20" align="center"><img 
            src="..\images\mhtDE.jpg" /></td>
                  <td><a href="MyProfile.aspx?OrgSid=<%=OrgSid%>">client details</a></td>
                  <td width="20" align="center"><img 
            src="..\images\mhtDE.jpg" /></td>
                  <td><a href="MyProfileUpt.aspx?OrgSid=<%=OrgSid%>">update client details</a></td>
                  <td width="20" align="center"><img 
            src="..\images\mhtDE.jpg" /></td>
                  <td><a href="EditCredit.aspx?OrgSid=<%=OrgSid%>">edit credit limit</a></td>
                  <td width="20" align="center"><img 
            src="..\images\mhtDE.jpg" /></td>
                  <td><a href="InvoicesList.aspx?OrgSid=<%=OrgSid%>">invoices</a></td>
                </tr>
                <tr>
                  <td width="20" align="center"><img 
            src="..\images\mhtDE.jpg" /></td>
                  <td><a href="ReceivingList.aspx?OrgSid=<%=OrgSid%>">receiving payments</a></td>
                  <td width="20" align="center"><img 
            src="..\images\mhtDE.jpg" /></td>
                  <td><a href="PaymentsOverdue.aspx?OrgSid=<%=OrgSid%>">overdue payments</a></td>
                  <td width="20" align="center"><img 
            src="..\images\mhtDE.jpg" /></td>
                  <td><a href="PaymentsComingdue.aspx?OrgSid=<%=OrgSid%>">coming due payments</a></td>
                  <td width="20" align="center"><img 
            src="..\images\mhtDE.jpg" /></td>
                  <td><a href="EmpAdd.aspx?OrgSid=<%=OrgSid%>">add employee</a></td>
                </tr>
                <tr>
                  <td align="center"><img 
            src="..\images\mhtDE.jpg" /></td>
                  <td><a href="EmpList.aspx?OrgSid=<%=OrgSid%>">employee details</a></td>
                  <td align="center">&nbsp;</td>
                  <td>&nbsp;</td>
                  <td align="center">&nbsp;</td>
                  <td>&nbsp;</td>
                  <td align="center">&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>
              </table></td>
            </tr>
			<tr>
			<td height="24">
			
			</td>
			</tr>
			
            <tr>
              <td><table width="100%"  border="0" cellspacing="1" cellpadding="1">
                <tr bgcolor="#CCCCCC">
                  <td width="31%" height="24"><strong>Current Employee Counts</strong></td>
                  <td width="32%"><strong>Current Figures</strong></td>
                  <td><strong>Most Recent Reports</strong></td>
                </tr>
                <tr>
                  <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="22">Active:<%=iActiveCount.ToString("0")%></td>
                    </tr>
                    <tr>
                      <td height="22">Terminated:<%=iActiveTerminated.ToString("0")%></td>
                    </tr>
                  </table></td>
                  <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="50%" height="22">Credit limit:<%=fCreditLimit.ToString("0.00")%></td>
                    </tr>
                    <tr>
                      <td height="22">Credit balance:<%=fCreditBalance.ToString("0.00")%></td>
                    </tr>
                    <tr>
                      <td height="22">Credit available:<%=fCreditAvailable.ToString("0.00")%></td>
                    </tr>
                  </table></td>
                  <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
				    <tr>
                      <td height="22">Latest tax invoice: 
					  <% if(InvoiceSid!="") {%>
					  <a href="../Invoices/InvoiceDetail.aspx?Guid=<%=Guid%>&OrgSid=<%=OrgSid%>" target="_blank">
					  Invoice<%=InvoiceSid%></a>&nbsp;&nbsp;(<%=InvoiceDate%>)
					  <%}%>
					  </td>
                    </tr>
                    <tr>
                      <td height="22"><div align="right">&nbsp;&nbsp;&nbsp;&nbsp;</div></td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
			<tr>
			<td height="25"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height=24>
                    <asp:Label ID="lbTip" runat="server"></asp:Label></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td><div align="center">
				<a href="OrgList.aspx">Return</a>
				</div></td>
              </tr>
            </table></td>
			</tr>
          </table>
    </form>
</body>
</html>
